package cn.edu.cug.cs.gtl.docsrv.dict.response;
import java.util.Collection;
import java.util.List;
import java.util.Map;

public class PaginatedValues<T> {
    private Collection<T> values;
    private List<Map> tableStructure;
    private int pageNum;
    private int pageSize;
    private int totalCount;

    public PaginatedValues() {

    }

    public PaginatedValues(Collection<T> values, List<Map> tableStructure, int pageNum, int pageSize, int totalCount) {
        this.values = values;
        this.tableStructure = tableStructure;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.totalCount = totalCount;
    }

    public Collection<T> getValues() {
        return values;
    }

    public void setValues(Collection<T> values) {
        this.values = values;
    }

    public List<Map> getTableStructure() {
        return tableStructure;
    }

    public void setTableStructure(List<Map> tableStructure) {
        this.tableStructure = tableStructure;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
